package com.moli.iov.base.model.po;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 省市基础表
 * </p>
 *
 * @author lws
 * @since 2019-06-12
 */
public class BaseCity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Integer id;

    /**
     * 城市名称
     */
    private String cityName;

    /**
     * 城市全称
     */
    private String fullName;

    /**
     * 英文名称
     */
    private String englishName;

    /**
     * 级别（0：省，1：地级市，2：县级市）
     */
    private Integer level;

    /**
     * 父级城市ID
     */
    private Integer parentId;

    /**
     * 城市全称
     */
    private String cityFullName;

    /**
     * 城市首字母
     */
    private String initial;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 修改时间
     */
    private LocalDateTime modifyTime;

    /**
     * 是否删除（0：未删除，1：删除）
     */
    private Integer isDelete;

    /**
     * 百度编码
     */
    private String baiduCode;

    /**
     * 百度名称
     */
    private String baiduName;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public String getFullName() {
        return fullName;
    }

    public void setFullName(String fullName) {
        this.fullName = fullName;
    }

    public String getEnglishName() {
        return englishName;
    }

    public void setEnglishName(String englishName) {
        this.englishName = englishName;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public String getCityFullName() {
        return cityFullName;
    }

    public void setCityFullName(String cityFullName) {
        this.cityFullName = cityFullName;
    }

    public String getInitial() {
        return initial;
    }

    public void setInitial(String initial) {
        this.initial = initial;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public LocalDateTime getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(LocalDateTime modifyTime) {
        this.modifyTime = modifyTime;
    }

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }

    public String getBaiduCode() {
        return baiduCode;
    }

    public void setBaiduCode(String baiduCode) {
        this.baiduCode = baiduCode;
    }

    public String getBaiduName() {
        return baiduName;
    }

    public void setBaiduName(String baiduName) {
        this.baiduName = baiduName;
    }

    @Override
    public String toString() {
        return "BaseCity{" +
        "id=" + id +
        ", cityName=" + cityName +
        ", fullName=" + fullName +
        ", englishName=" + englishName +
        ", level=" + level +
        ", parentId=" + parentId +
        ", cityFullName=" + cityFullName +
        ", initial=" + initial +
        ", createTime=" + createTime +
        ", modifyTime=" + modifyTime +
        ", isDelete=" + isDelete +
        ", baiduCode=" + baiduCode +
        ", baiduName=" + baiduName +
        "}";
    }
}
